﻿<baseClass:Control xmlns:baseClass="clr-namespace:EFS.RC.ConversationBrowser.Controls" x:Class="EFS.RC.ConversationBrowser.Controls.Search.Criteria"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	x:Name="criteria"
    mc:Ignorable="d"
    MinWidth="640" xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk" Loaded="criteria_Loaded" xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit">
	<Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
		<Grid.ColumnDefinitions>
			<ColumnDefinition Width="Auto"></ColumnDefinition>
			<ColumnDefinition Width="10"></ColumnDefinition>
			<ColumnDefinition Width="Auto"></ColumnDefinition>
		</Grid.ColumnDefinitions>
		<Grid.RowDefinitions>
			<RowDefinition Height="*"></RowDefinition>
			<RowDefinition Height="10"></RowDefinition>
			<RowDefinition Height="*"></RowDefinition>
			<RowDefinition Height="10"></RowDefinition>
			<RowDefinition Height="*"></RowDefinition>
			<RowDefinition Height="10"></RowDefinition>
			<RowDefinition Height="*"></RowDefinition>
			<RowDefinition Height="10"></RowDefinition>
			<RowDefinition Height="*"></RowDefinition>
		</Grid.RowDefinitions>

		<toolkit:Expander Grid.Column="0" Grid.Row="0" Height="Auto" Width="Auto" MinWidth="422" HorizontalAlignment="Left" Margin="0,0,0,0" Name="expanderAgent" VerticalAlignment="Top" Header="Agent" IsExpanded="True" BorderBrush="DarkGray">
			<Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="5">
				<Grid.ColumnDefinitions>
					<ColumnDefinition Width="*"></ColumnDefinition>
					<ColumnDefinition Width="10"></ColumnDefinition>
					<ColumnDefinition Width="*"></ColumnDefinition>
				</Grid.ColumnDefinitions>
				<Grid.RowDefinitions>
					<RowDefinition Height="*"></RowDefinition>
				</Grid.RowDefinitions>

				<sdk:Label Grid.Row="0" Grid.Column="0" Content="First name" HorizontalAlignment="Left" Margin="0,0,0,0" Name="label1" VerticalAlignment="Top" />
				<TextBox Grid.Row="0" Grid.Column="0" Height="23" HorizontalAlignment="Left" Margin="0,17,0,0" Name="textBoxAgentFirstname" VerticalAlignment="Top" Width="200" />

				<sdk:Label Grid.Row="0" Grid.Column="2" Content="Last name" HorizontalAlignment="Left" Margin="0,0,0,0" Name="label2" VerticalAlignment="Top" />
				<TextBox Grid.Row="0" Grid.Column="2" Height="23" HorizontalAlignment="Left" Margin="0,17,0,0" Name="textBoxAgentLastname" VerticalAlignment="Top" Width="200" />
			</Grid>
		</toolkit:Expander>

		<toolkit:Expander Grid.Column="2" Grid.Row="0" Height="Auto" Width="Auto" MinWidth="422" HorizontalAlignment="Left" Margin="0,0,0,0" Name="expanderSupervisor" VerticalAlignment="Top" Header="Supervisor" IsExpanded="True" BorderBrush="DarkGray">
			<Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="5">
				<Grid.ColumnDefinitions>
					<ColumnDefinition Width="*"></ColumnDefinition>
					<ColumnDefinition Width="10"></ColumnDefinition>
					<ColumnDefinition Width="*"></ColumnDefinition>
				</Grid.ColumnDefinitions>
				<Grid.RowDefinitions>
					<RowDefinition Height="*"></RowDefinition>
				</Grid.RowDefinitions>

				<sdk:Label Grid.Row="0" Grid.Column="0" Content="First name" HorizontalAlignment="Left" Margin="0,0,0,0" Name="label3" VerticalAlignment="Top" />
				<TextBox Grid.Row="0" Grid.Column="0" Height="23" HorizontalAlignment="Left" Margin="0,17,0,0" Name="textBoxSupervisorFirstname" VerticalAlignment="Top" Width="200" />

				<sdk:Label Grid.Row="0" Grid.Column="2" Content="Last name" HorizontalAlignment="Left" Margin="0,0,0,0" Name="label4" VerticalAlignment="Top" />
				<TextBox Grid.Row="0" Grid.Column="2" Height="23" HorizontalAlignment="Left" Margin="0,17,0,0" Name="textBoxSupervisorLastname" VerticalAlignment="Top" Width="200" />
			</Grid>
		</toolkit:Expander>

		<toolkit:Expander Grid.Column="0" Grid.Row="2" Height="Auto" Width="Auto" MinWidth="422" HorizontalAlignment="Left" Margin="0,0,0,0" Name="expanderInterval" VerticalAlignment="Top" Header="Interval" IsExpanded="True" BorderBrush="DarkGray">
			<Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="5">
				<Grid.ColumnDefinitions>
					<ColumnDefinition Width="*"></ColumnDefinition>
					<ColumnDefinition Width="10"></ColumnDefinition>
					<ColumnDefinition Width="*"></ColumnDefinition>
				</Grid.ColumnDefinitions>
				<Grid.RowDefinitions>
					<RowDefinition Height="*"></RowDefinition>
				</Grid.RowDefinitions>

				<sdk:Label Grid.Row="0" Grid.Column="0" Content="From" HorizontalAlignment="Left" Margin="0,0,0,0" Name="label5" VerticalAlignment="Top" />
				<sdk:DatePicker Grid.Row="0" Grid.Column="0" Height="23" HorizontalAlignment="Left" Margin="0,17,0,0" Name="datePickerFrom" VerticalAlignment="Top" Width="200" />

				<sdk:Label Grid.Row="0" Grid.Column="2" Content="To" HorizontalAlignment="Left" Margin="0,0,0,0" Name="label6" VerticalAlignment="Top" />
				<sdk:DatePicker Grid.Row="0" Grid.Column="2" Height="23" HorizontalAlignment="Left" Margin="0,17,0,0" Name="datePickerTo" VerticalAlignment="Top" Width="200" />
			</Grid>
		</toolkit:Expander>

		<toolkit:Expander Grid.Column="2" Grid.Row="2" Grid.RowSpan="5" Height="Auto" Width="Auto" MinWidth="422" HorizontalAlignment="Left" Margin="0,0,0,0" Name="expanderHighway" VerticalAlignment="Top" Header="Highway" IsExpanded="True" BorderBrush="DarkGray">
			<Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="5">
				<Grid.ColumnDefinitions>
					<ColumnDefinition Width="*"></ColumnDefinition>
					<ColumnDefinition Width="10"></ColumnDefinition>
					<ColumnDefinition Width="*"></ColumnDefinition>
				</Grid.ColumnDefinitions>
				<Grid.RowDefinitions>
					<RowDefinition Height="*"></RowDefinition>
					<RowDefinition Height="*"></RowDefinition>
					<RowDefinition Height="*"></RowDefinition>
				</Grid.RowDefinitions>

				<sdk:Label Grid.Row="0" Grid.Column="0" Content="PartyID" HorizontalAlignment="Left" Margin="0,0,0,0" Name="label7" VerticalAlignment="Top" />
				<TextBox Grid.Row="0" Grid.Column="0" Height="23" HorizontalAlignment="Left" Margin="0,17,0,0" Name="textBoxHWPartyID" VerticalAlignment="Top" Width="200" />

				<sdk:Label Grid.Row="0" Grid.Column="2" Content="ApplicantID" HorizontalAlignment="Left" Margin="0,0,0,0" Name="label10" VerticalAlignment="Top" />
				<TextBox Grid.Row="0" Grid.Column="2" Height="23" HorizontalAlignment="Left" Margin="0,17,0,0" Name="textBoxHWApplicantID" VerticalAlignment="Top" Width="200" />
			
				<sdk:Label Grid.Row="1" Grid.Column="0" Content="First name" HorizontalAlignment="Left" Margin="0,10,0,0" Name="label17" VerticalAlignment="Top" />
				<TextBox Grid.Row="1" Grid.Column="0" Height="23" HorizontalAlignment="Left" Margin="0,27,0,0" Name="textBoxHWFirstName" VerticalAlignment="Top" Width="200" />

				<sdk:Label Grid.Row="1" Grid.Column="2" Content="Last name" HorizontalAlignment="Left" Margin="0,10,0,0" Name="label110" VerticalAlignment="Top" />
				<TextBox Grid.Row="1" Grid.Column="2" Height="23" HorizontalAlignment="Left" Margin="0,27,0,0" Name="textBoxHWLastName" VerticalAlignment="Top" Width="200" />

				<sdk:Label Grid.Row="2" Grid.Column="0" Content="Tel" HorizontalAlignment="Left" Margin="0,10,0,0" Name="label9" VerticalAlignment="Top" />
				<TextBox Grid.Row="2" Grid.Column="0" Height="23" HorizontalAlignment="Left" Margin="0,27,0,0" Name="textBoxCustomerUri" VerticalAlignment="Top" Width="200" />
			</Grid>
		</toolkit:Expander>

		<toolkit:Expander Grid.Column="0" Grid.Row="4" Height="Auto" Width="Auto" MinWidth="422" HorizontalAlignment="Left" Margin="0,0,0,0" Name="expanderClassification" VerticalAlignment="Top" Header="Classification" IsExpanded="True" BorderBrush="DarkGray">
			<Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="5">
				<Grid.ColumnDefinitions>
					<ColumnDefinition Width="*"></ColumnDefinition>
					<ColumnDefinition Width="10"></ColumnDefinition>
					<ColumnDefinition Width="*"></ColumnDefinition>
				</Grid.ColumnDefinitions>
				<Grid.RowDefinitions>
					<RowDefinition Height="*"></RowDefinition>
				</Grid.RowDefinitions>

				<sdk:Label Grid.Row="0" Grid.Column="0" Content="Type" HorizontalAlignment="Left" Margin="0,0,0,0" Name="label8" VerticalAlignment="Top" />
				<ComboBox Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="3" Height="23" HorizontalAlignment="Left" Margin="0,17,0,0" Name="comboBoxClassification" VerticalAlignment="Top" Width="400" />

			</Grid>
		</toolkit:Expander>

		<toolkit:Expander Grid.Column="0" Grid.Row="6" Height="Auto" Width="Auto" MinWidth="422" HorizontalAlignment="Left" Margin="0,0,0,0" Name="expanderConversation" VerticalAlignment="Top" Header="Conversation" IsExpanded="True" BorderBrush="DarkGray">
			<Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="5">
				<Grid.ColumnDefinitions>
					<ColumnDefinition Width="*"></ColumnDefinition>
					<ColumnDefinition Width="10"></ColumnDefinition>
					<ColumnDefinition Width="*"></ColumnDefinition>
				</Grid.ColumnDefinitions>
				<Grid.RowDefinitions>
					<RowDefinition Height="*"></RowDefinition>
				</Grid.RowDefinitions>

				<sdk:Label Grid.Row="0" Grid.Column="0" Content="Duration" HorizontalAlignment="Left" Margin="0,0,0,0" Name="label11" VerticalAlignment="Top" />
				<TextBox Height="23" HorizontalAlignment="Left" Margin="54,17,0,0" Name="textBoxDurationFromMinutes" VerticalAlignment="Top" Width="59" />

				<sdk:Label Grid.Column="2" Content="minutes" HorizontalAlignment="Left" Margin="110,0,0,3" Name="label12" VerticalAlignment="Bottom" />
				<TextBox Height="23" HorizontalAlignment="Left" Margin="43,17,0,0" Name="textBoxDurationToMinutes" VerticalAlignment="Top" Width="59" Grid.Column="2" />
				<sdk:Label Content="minutes" HorizontalAlignment="Right" Margin="0,0,36,3" Name="label13" VerticalAlignment="Bottom" />
				<sdk:Label Content="from" HorizontalAlignment="Right" Margin="0,0,152,3" Name="label14" VerticalAlignment="Bottom" />
				<sdk:Label Content="to" HorizontalAlignment="Left" Margin="23,0,0,3" Name="label15" VerticalAlignment="Bottom" Grid.Column="2" />
			</Grid>
		</toolkit:Expander>

		<Grid Grid.Column="0" Grid.Row="8" Grid.ColumnSpan="3" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="5">
			<Button Content="Search" VerticalAlignment="Bottom" Height="30" HorizontalAlignment="Center" Margin="0,0,0,0" Name="buttonSearch" Width="100" Click="buttonSearch_Click" />
		</Grid>
	</Grid>
</baseClass:Control>